package com.lianxi.es;


import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 分页
 * @author wh
 * @date 2017/7/3
 */

@Data
public class Page<T> implements Serializable {

    /**
     * 数据 the list of paginate result
     */

    private List<T> datas = new ArrayList<T>();

    private int pageNumber;
    /**
     *第几页  the page number

    private int pageNumber;
    /**
     *一页的大小  the page size
     */

    private int pageSize;
    /**
     * 总页数  the total page of paginate
     */

    private int totalPage;
    /**
     * 总数据行  the total row of paginate
     */

    private long totalRow;
}
